package com.songhuan.web.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.songhuan.web.dto.*;
import com.songhuan.web.dto.query.*;
import com.songhuan.web.entity.*;
import com.songhuan.web.tools.dto.*;
import com.songhuan.web.dto.LeaveRecordDto;
import com.songhuan.web.dto.query.LeaveRecordPagedInput;
import com.songhuan.web.entity.LeaveRecord;
import com.songhuan.web.tools.dto.PagedResult;
import lombok.SneakyThrows;


/**
 * 请假记录功能的Service接口的定义清单
 */
public interface LeaveRecordService extends IService<LeaveRecord> {

    /**
     * 请假记录的分页查询方法接口定义
     */
    PagedResult<LeaveRecordDto> List(LeaveRecordPagedInput input) ;
    /**
     * 请假记录的新增或者修改方法接口定义
     */
    LeaveRecordDto CreateOrEdit(LeaveRecordDto input);

     /**
     * 获取请假记录信息
     */
    LeaveRecordDto Get(LeaveRecordPagedInput input);


    @SneakyThrows
    void ApplySuccess(LeaveRecordDto input);
}
